﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Triangle
{
    public class Triangle
    {
        private int _Edge1;

        public int Edge1
        {
            get { return _Edge1; }
            set { _Edge1 = value; }
        }
        private int _Edge2;

        public int Edge2
        {
            get { return _Edge2; }
            set { _Edge2 = value; }
        }
        private int _Edge3;

        public int Edge3
        {
            get { return _Edge3; }
            set { _Edge3 = value; }
        }
        public Triangle(int Edge1,int Edge2,int Edge3)
        {
            _Edge1=Edge1;
            _Edge2=Edge2;
            _Edge3=Edge3;
        }
        public string CheckTriangle()
        {

            if ((_Edge1 * _Edge1 + _Edge2 * _Edge2 == _Edge3 * _Edge3) || (_Edge1 * _Edge1 + _Edge3 * _Edge3 == _Edge2 * _Edge2) || (_Edge2 * _Edge2 + _Edge3 * _Edge3 == _Edge1 * _Edge1))
            {
                return "rightTriangle";
                int a = 5;
                int b = 5;
               
             
            }
            else
            {
                if ((_Edge1 == _Edge2) || (_Edge2 == _Edge3) || (_Edge1 == _Edge3))
                {
                    return "isoscelesTriangle";
                }
                else
                {
                    return "normalTriangle";
                }
            }
            return "";
            
            



        }



    }
}
